package spc.webos.queue;

import org.apache.log4j.Logger;

public abstract class AbstractQueueAccess implements IQueueAccess {
	protected Logger log = Logger.getLogger(super.getClass());
	protected int retryTimes = 1;
	protected int retryInterval = 0;

	protected boolean matchCorId = true;

	public int getRetryTimes() {
		return this.retryTimes;
	}

	public void setRetryTimes(int retryTimes) {
		this.retryTimes = retryTimes;
	}

	public int getRetryInterval() {
		return this.retryInterval;
	}

	public void setRetryInterval(int retryInterval) {
		this.retryInterval = retryInterval;
	}

	public boolean isMatchCorId() {
		return this.matchCorId;
	}

	public void setMatchCorId(boolean matchCorId) {
		this.matchCorId = matchCorId;
	}
}
